﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace TermitesMagnets
{
    class Pwu1:Pwu
    {

        public Pwu1(Game game, Level parent, Vector2 position, int l)
            : base(game, parent, position, l)
        {     
        }

        public override void DoSomething(Magnet mag)
        {            
            //P1 reduce all 10

            foreach (TargetRect t in parent.Targets)
            { 
                if ( t.ColorIndex != mag.ColorIndex )
                    t.reduceatten(10);
            }


        }
    }
}
